package anonymouschat.messages.serverresponses;

import java.io.Serializable;
import java.util.List;

import anonymouschat.messages.Message;

/**
 * Server sends an instance of this to client. Client refreshes chat member
 * panel.
 * 
 * @author bh349
 * 
 */
public class ChatroomMemberResponse extends Message implements Serializable
{

    private static final long serialVersionUID = 7210280233927400809L;

    private List<String> members;

    private String chatroomName;

    public ChatroomMemberResponse( String chatRoom, List<String> members ) {
        setMembers( members );
        chatroomName = chatRoom;
    }

    public String getChatroomName() {
        return chatroomName;
    }

    public void setMembers( List<String> members ) {
        this.members = members;
    }

    public List<String> getMembers() {
        return members;
    }

}
